package com.springmvc.web.mapper;

import java.util.List;
import java.util.Map;

import com.springmvc.web.entity.User;


public interface UserMapper{
	  	
		public void addUser(User user);
		
		public void delUser(Integer id);
		
		public User getUser(Integer id);
		
		public List<User> getUserByName(Map<String,Object> params);
		
		public void updateUser(User user);
	
		public List<User> getAllUser();
		
		public int getTotal();
				
		public List<User> selectUserByPager(Map<String,Object> params);
	    	
}
